
using Core.SimpleTemp.Common;
using Core.SimpleTemp.Entitys;
using System;
using Core.SimpleTemp.Application.UserApp;


namespace Core.SimpleTemp.Application
{
    [CreateMap(typeof(CBS_BreakRulesAttachment))]

    /// <summary>
    /// 承包商附件表
    /// </summary>
    public class CBS_BreakRulesAttachmentDto
    {

        public Guid Id { get; set; }
        /// <summary>
        /// 承包商违章ID
        /// </summary>
        public Guid? BreakRulesId { get; set; }
        public Guid? Annex { get; set; }
        /// <summary>
        /// 0违章图片1签名
        /// </summary>
        public string Type { get; set; }

        /// <summary>
        /// 附件表ID
        /// </summary>
        public Guid? AttachmentId { get; set; }

        /// <summary>
        /// 附件名称
        /// </summary>
        public String AttachmentName { get; set; }

        public Guid? UploadUser { get; set; }

        public DateTime UploadTime { get; set; }


        public SysUserDto SysUser { get; set; }
    }

    public enum BreakRulesAttachmentType
    {
        File = 0,
        signImage = 1
    }
}
